﻿using System;
namespace Pay.DTO.rpay {
	/// <summary>
	/// 商户进件请求
	/// </summary>
	public class merchant_req : rpay_req_base {
		public merchant_req() {
			method = "createReport";
		}
		/// <summary>
		/// 方法名
		/// </summary>
		public string method { get; set; }
		/// <summary>
		/// 3DES 加密原文: 收款卡号|姓名|证件类型|证件号|手机号 证件类型为:01 证件号:身份证号码 收款卡号为储蓄卡号
		/// </summary>
		public string customerInfo { get; set; }
		/// <summary>
		/// 商户名称
		/// </summary>
		public string name { get; set; }
		/// <summary>
		/// 商户简称
		/// </summary>
		public string shortName { get; set; }
		/// <summary>
		/// 联系电话
		/// </summary>
		public string tel { get; set; }
		/// <summary>
		/// 商户详细地址
		/// </summary>
		public string merch_addr { get; set; }
		/// <summary>
		/// 银行卡所在总行联行号
		/// </summary>
		public string payee_bank_id { get; set; }
		/// <summary>
		/// 开户行联行号
		/// </summary>
		public string payee_branch_code { get; set; }
		/// <summary>
		/// 开户行省份编码
		/// </summary>
		public string payee_bank_province { get; set; }
		/// <summary>
		/// 开户行省份编码
		/// </summary>
		public string payee_bank_city { get; set; }
		/// <summary>
		/// 费率：T0 费率‰
		/// </summary>
		public string fee0 { get; set; }
		/// <summary>
		/// 单笔代付
		/// </summary>
		public string d0fee { get; set; }
	}

	/// <summary>
	/// 进件响应
	/// </summary>
	public class merchant_resp : rpay_resp_base {
		/// <summary>
		/// 商户号
		/// </summary>
		public string mch_id { get; set; }
	}

	/// <summary>
	/// 商户进件修改请求
	/// </summary>
	public class merchant_edit : rpay_req_base {
		public merchant_edit() {
			method = "updateReportInfo";
		}
		/// <summary>
		/// 方法名
		/// </summary>
		public string method { get; set; }
		/// <summary>
		/// 商户号
		/// </summary>
		public string mch_id { get; set; }
		/// <summary>
		/// 银行卡所在总行联行号
		/// </summary>
		public string payee_bank_id { get; set; }
		/// <summary>
		/// 修改操作信息字段:M01:修改商户基本信 息 M02:修改结算卡 信息 M03:修改费率
		/// </summary>
		public string merchant_oper_flag { get; set; }
	}

	/// <summary>
	/// M02:修改结算卡
	/// </summary>
	public class merchant_edit_m02 : merchant_edit {
		/// <summary>
		/// 3DES 加密原文: 收款卡号|姓名|证件类型|证件号|手机号 证件类型为:01 证件号:身份证号码 收款卡号为储蓄卡号
		/// </summary>
		public string customerInfo { get; set; }
		/// <summary>
		/// 开户行联行号
		/// </summary>
		public string payee_branch_code { get; set; }
		/// <summary>
		/// 开户行省份编码
		/// </summary>
		public string payee_bank_province { get; set; }
		/// <summary>
		/// 开户行省份编码
		/// </summary>
		public string payee_bank_city { get; set; }
	}

	/// <summary>
	/// M03:修改费率
	/// </summary>
	public class merchant_edit_m03 : merchant_edit {
		/// <summary>
		/// 费率：T0 费率‰
		/// </summary>
		public string fee0 { get; set; }
		/// <summary>
		/// 单笔代付
		/// </summary>
		public string d0fee { get; set; }
	}

	/// <summary>
	/// 查询商户费率
	/// </summary>
	public class fee_query_req : rpay_req_base {
		public fee_query_req() {
			method = "10008";
		}
		/// <summary>
		/// 方法名
		/// </summary>
		public string method { get; set; }
		/// <summary>
		/// 商户号
		/// </summary>
		public string mch_id { get; set; }
	}

	/// <summary>
	/// 查询商户费率响应
	/// </summary>
	public class fee_query_resp : rpay_resp_base {
		/// <summary>
		/// 商户号
		/// </summary>
		public string mch_id { get; set; }
		/// <summary>
		/// 费率：T0 费率‰
		/// </summary>
		public string fee0 { get; set; }
		/// <summary>
		/// 单笔代付
		/// </summary>
		public string d0fee { get; set; }
	}
}
